import service from '@/utils/request.ts'

interface UploadAdData {
    device: string,
    adType: number, // 3:抽奖; 4: 扭蛋; 5: 插屏
    viewingTime: string
}
export const uploadViewAdType = (data: UploadAdData) => {
    return service.post('/tViewAd/AddViewAd', data)
}